/**
 * @description 数据项检查情况
 * @author zhongshigui
 * @since
 */

import { PersonnelServiceApi } from "./_personnel";
import { AxiosResponse } from "axios";
import { objectToUrlParams } from "/@/utils/common";
import service from "/@/utils/request";

class InspectServiceApi extends PersonnelServiceApi {}
export const inspectServiceApi = new InspectServiceApi(
  "/DataQualityQuestionTotalService"
);
class DataQualityServiceApi extends PersonnelServiceApi {
  dataInfo(bean: any, params?: any): Promise<AxiosResponse<any>> {
    let url = this.baseUrl + "/dataInfo";
    url += objectToUrlParams(params, true);
    return service.post(url, bean);
  }
}
export const dataQualityServiceApi = new DataQualityServiceApi(
  "/DataQualityRuleService"
);
